<%@page import="databank.DataBankVo"%>
<%@page import="databank.DataBank"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.oreilly.servlet.MultipartRequest" %>
<%@ page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
#upload_main{
	width: 330px;
	margin: 0 auto;
	padding-left:20px;
	border: 2px dotted #F15F5F;
	border-radius: 10px;
	padding-bottom:10px;
}
#upload_title{
	width: 100%;
	font-size: 20px;
	text-align: center;
	margin-top:10px;
	margin-bottom:10px;
}

</style>
<script>
function btn_list(){
	location.href="index2.jsp?inc_center=./databank/list.jsp";
}
</script>
<title>UPload.jsp</title>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DataBankVo"/>
<jsp:setProperty property="*" name="bankVo"/>


	<div id="upload_main">
		<form name="up_frm" action="index2.jsp?inc_center=./databank/upload_result.jsp" method="post" enctype="multipart/form-data">
			<div id="upload_title">파일 업로드</div>
		
			작&ensp;성&ensp;자 : <input type="text" name="mid" value=""><br/><br/>
			제&emsp;&emsp;목 : <input type="text" name="subject" value=""><br/><br/>
			암&emsp;&emsp;호 : <input type="password" name="pwd" value=""><br/><br/>
			내&emsp;&emsp;용 <br/><br/>
			<textarea name="content" rows="6" cols="40"></textarea>
			<br/><br/>
			파&ensp;일&ensp;명 : <input type="file" name="filename" value=""><br/>

			<center><input type="submit" value="전송" id="btnSave">
			<input type="button" value="목록" id="btnList" onclick="btn_list()"></center>
			
		</form>
	</div>
</body>
</html>